<div class="layui-form-item form_code">
    <input type="text" lay-verify="required|code" maxlength="6" v-model="validateCode" :placeholder="vc.i18n('请输入验证码','validateCode')"
        autocomplete="off" class="layui-input" @keyup.enter="enterToLogin">
    <div class="code"><img v-bind:src="codeImage" border="0" style="cursor:pointer" alt="vc.i18n('点击刷新验证码','validateCode')" width="118"
            height="38" v-on:click="generateCode()"></div>
</div>
